import { createWebHistory, createRouter } from 'vue-router'


const router = createRouter({
  history: createWebHistory(),
  routes:[
	  {
		  path:'/',
		  redirect:"/index",
		  component:()=>import('../pages/Index.vue'),
		  meta:{title:'首页'},
		  children:[
			  {
				  path:'index',
				  name:"index",
				  component:()=>import('../pages/subpages/Index.vue'),
				  meta:{title:'首页'},
			  }
		  ]
	  }
  ]
  
})
export default router